import React from "react";
import { Link } from "react-router-dom";

export default class Index extends React.Component {
  render() {
    return (
      <div>
        <Link to='/home'>home1</Link>
        <br />
        <Link to='/about'>about1</Link>
        <br />
        <Link to='/comment'>comment1</Link>
        <hr />
        {this.props.children}
      </div>
    );
  }
}
